QT       -= gui

CONFIG   += console

TEMPLATE = app
TARGET = qtq_console
QT += webkit \
    xml \
    network
CONFIG += qt \
    debug
DEPENDPATH += src/api \
    src/libeva \
    src/ui \
    INCLUDEPATH \
    += \
    . \
    src \
    HEADERS \
    += \
    src/myqq/webqq.h \
    src/myqq/util.h \
    src/myqq/utf8.h \
    src/myqq/qun.h \
    src/myqq/qqsocket.h \
    src/myqq/qqpacket.h \
    src/myqq/qqdef.h \
    src/myqq/qqcrypt.h \
    src/myqq/qqconn.h \
    src/myqq/qqclient.h \
    src/myqq/protocol.h \
    src/myqq/packetmgr.h \
    src/myqq/memory.h \
    src/myqq/md5.h \
    src/myqq/loop.h \
    src/myqq/list.h \
    src/myqq/libqq.h \
    src/myqq/group.h \
    src/myqq/debug.h \
    src/myqq/crc32.h \
    src/myqq/config.h \
    src/myqq/buddy.h
SOURCES += src/myqq/util.cpp \
    src/myqq/utf8.cpp \
    src/myqq/qun.cpp \
    src/myqq/qqsocket.cpp \
    src/myqq/qqpacket.cpp \
    src/myqq/qqcrypt.cpp \
    src/myqq/qqclient.cpp \
    src/myqq/protocol.cpp \
    src/myqq/prot_user.cpp \
    src/myqq/prot_qun.cpp \
    src/myqq/prot_misc.cpp \
    src/myqq/prot_login.cpp \
    src/myqq/prot_im.cpp \
    src/myqq/prot_group.cpp \
    src/myqq/prot_buddy.cpp \
    src/myqq/packetmgr.cpp \
    src/myqq/myqq.cpp \
    src/myqq/memory.cpp \
    src/myqq/md5.cpp \
    src/myqq/loop.cpp \
    src/myqq/list.cpp \
    src/myqq/group.cpp \
    src/myqq/debug.cpp \
    src/myqq/crc32.cpp \
    src/myqq/config.cpp \
    src/myqq/buddy.cpp \
    src/myqq/qqconn.c
LIBS += -lpthread
win32:LIBS += -lwsock32
